<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/st4" prefix="st"%>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="Cp1251"%>
<html>
<head>
</head>
<body></body>
<div>
<h2><st:i18n key="pages.Departures"/></h2> 
<table class="table">
	<tr style="text-align:center; font-size:20px;">    
		<td><st:i18n key="timeteble.flight_number"/> </td> 
		<td><st:i18n key="phrases.day_of_week"/> </td>
		<td><st:i18n key="pages.time"/> </td>
		<td><st:i18n key="timeteble.destination"/> </td> 
		<td><st:i18n key="timeteble.aircraft"/> </td>	
	</tr>  
	
	<c:forEach items="${schedule_dep}" var="item">  
		<tr>    
			<td>${item.getId()}</td>  
			<td>${item.getDays()}</td>
			<td>${item.getDepartureTime()}</td>
			<td>${item.getDestination()}</td>
			<td>${item.getAirplane()}</td>
		</tr>    
	</c:forEach> 					
</table> 
</div>

<div>
<h2><st:i18n key="pages.Arrivals"/></h2>
<table class="table">
	<tr style="text-align:center; font-size:20px;">    
		<td><st:i18n key="timeteble.flight_number"/> </td> 
		<td><st:i18n key="phrases.day_of_week"/> </td>
		<td><st:i18n key="pages.time"/> </td>
		<td><st:i18n key="timeteble.From"/> </td> 
		<td><st:i18n key="timeteble.aircraft"/> </td>	
	</tr>  
	
	<c:forEach items="${schedule_ariv}" var="item">  
		<tr>    
			<td>${item.getId()}</td> 
			<td>${item.getDays()}</td> 
			<td>${item.getDepartureTime()}</td>
			<td>${item.getDeparture()}</td>
			<td>${item.getAirplane()}</td>
		</tr>    
	</c:forEach> 					
</table> 
</div>
</body>